#ifndef _GOTOPOS_
#define _GOTOPOS_

#include <Aria.h>
#include "VisioneController.h"
class GoToPos : public ArAction{

public:
	GoToPos(unsigned short depth, double degree,VisioneController *visione);
	~GoToPos();


private:
	ArActionDesired* fire(ArActionDesired currentDesired);

	unsigned short depth;
	double degree;
	double range;
	bool moved;
	int cont;
	bool gotopp;
	VisioneController *visione;
	ArActionDesired myDesired;

};

#endif
